from django.contrib import admin

from .models import *


class NewsAdmin(admin.ModelAdmin):
    list_display = ("id", "user", "content", "video")

admin.site.register(News, NewsAdmin)


class UserRelationAdmin(admin.ModelAdmin):
    list_display = ("id", "user", "object_user", "relation")

admin.site.register(UserRelation, UserRelationAdmin)